/*$(document).ready(function() {
	
	$(".search-details").each(function(index) {
		var x = $(".search-details");
		$(this).find(".read-more").click(function() {
			alert('1');
			x.find('.showcont').css('display','block');
			$('.showcont').css('display','none');
		});
		$(this).find(".hide").click(function() {
			alert('2');
			x.find('.showcont').css('display','none');
			$('.showcont').css('display','none');
		});
	});
});*/
$(document).ready(function() {

	//var $winwidth=1000;
	//$rightwidth=parseInt($winwidth)-75-20;
	//$(".right-area").css('width',$rightwidth+'px');
	//$(".container").css('width',$rightwidth-70+'px');
	//$(".left-block").css('width',$rightwidth-380+'px');

$(".search-box ul li a").each(function(index) {
	$(this).click(function() {
		$(".search-box .selactive span.sel-val").text($(this).html());
		$('.search-box ul').css('display','none');
	});
});
	$('.search-box').hover(function() {
		$(this).find('ul').css('display','block');
	},function() {
		$(this).find('ul').css('display','none');
	});

	$(".work-area .left-area ul.nav > li.employer").hover(function() {
		$(".work-area .left-area ul.nav > li.employer .left-popup").animate( {
			left:'70',
			opacity:1
		},function() {
			
		});
		$(".work-area .left-area ul.nav > li.employer .left-popup").css('display','block');
	},function() {
		$(".work-area .left-area ul.nav > li.employer .left-popup").animate( {
			left:'60',
			opacity:0
		},function() {
			$(".work-area .left-area ul.nav > li.employer .left-popup").css('display','none');
		});
	});
	
	$( "#datefrom" ).datepicker();
	$( "#dateto" ).datepicker();



});
$(window).resize(function() {
	//var $winwidth=1000;
	//$rightwidth=parseInt($winwidth)-75-20;
	//$(".right-area").css('width',$rightwidth+'px');
	//$(".container").css('width',$rightwidth-70+'px');
	//$(".left-block").css('width',$rightwidth-380+'px');
});



